import java.util.Random;
import java.util.Scanner;

public class java9_8 {
    //计算1到100的和
    /*public static void main(String[] args) {*/
/*        int i = 0;
        int sum =0;
        for(i=1;i<=100;i++)
        {
            sum += i;
        }*/
        //计算1到100的偶数和
/*        int i = 0;
        int sum1 = 0;
        int sum2 = 0       for(i=1;i<=100;i++){
            if(i % 2==0){
               sum1 += i;            }else {
                sum2 += i;
            }
        }
        System.out.println(sum1);
        System.out.println(sum2);
    }
}
